﻿<html>
<head>
<title>FightThisWay</title>
<style type="text/css">
<!--
.indented
   {
   margin-left: 50px;
   margin-right: 50px;
   }
.nobullet
   {
   margin-left: 50px;
   margin-right: 50px;
   list-style-type: none;
   }
table.topalign td 
   {
   vertical-align:top;
   margin-left: 50px;
   }
    .style1
    {
        height: 28px;
    }
    .style2
    {
        width: 1087px;
    }
    .style3
    {
        height: 28px;
        width: 1087px;
    }
-->
</style>
</head>
<body>
<div style="text-align: center";>
<h1>
    FightThisWay</h1>
<h2>
    An all-in-one class for HonorBuddy.</h2>
</div>

<h3>What is it?</h3>
FightThisWay (FTW) is an all-in-one class for HonorBuddy. It handles pulling mobs, battling mobs, and resting for you.

<h3>Why should I use this instead of another custom class?</h3>
Here's what's great about FTW:

<ol class="indented">
    <li>Easily customizable - simply change the data file to change your play style. Like to open with Rain of Fire? No problem! Like to heal as soon at you get below 100, instead of below 70? Piece of cake. Do you want to never EVER use a certain spell? Just remove those lines.</li>
    <li>You don't have to be a rocket scientist to modify the gameplay, thanks to FightThisWay's unique action system - you just need to edit a text file.</li>
    <li>Change combat style at runtime. After making your changes and saving them, FightThisWay automatically notices the file has changed, and reloads it at runtime. There's no need to stop and restart HonorBuddy, to preview changes.</li>
    <li>Access spells that aren't currently available in HonorBuddy's Spell Manager. All the missing druid and warlock spells are here, and ready to rock!</li>
    <li>Customizing it makes you play different than everyone else, so it's less obvious that you're playing with a bot.</li>
    <li>Innovative use of the scroll key to handle automatic movement and facing. <b>When the scroll lock key is on, no movement, targeting, or facing is performed</b>, so you can control it yourself. <b>When the scroll lock key is off, everything's automatic.</b> This comes in handy when you want to do dungeons with others, and want it to handle the rotation, while you handle the movement and game mechanics. With scroll lock on, you can 'steer' the bot, and make target choices yourself. If nature calls and you need a quick bio break, turn scroll lock off and let it do its thing.</li>
    <li>Works in all dungeons! For the lower level dungeons, you can pretty much ignore it and assume good stuff's happening. For the higher level trickier dungeons, there are large stretches where it can play unattended, but you will eventually need to come back to manually steer out of Mannoroth's fel flames.</li>
    <li>When in party, it automatically follows the tank when out of combat, and your current target when in combat.</li>
    <li>When in a party in combat, it automatically rezzes any dead tank or healers, if it can - Death Knight 'Raise Ally', warlock 'Soulstone', druid 'Rebirth', etc. It happens so fast you often don't notice someone went down before they've popped back up again.</li>
    <li>In party out of combat, it does the 'cheap' rez on everyone, regardless of whether they're a tank or healer - 'Revive' for druids, 'Redemption' for paladins, etc.</li>
    <li>It uses a weighting system during combat, and will stop what it's doing and go save the healer, if it must. If it's a tank and it's losing aggro, it will drop the current mob and target the mob he lost aggro on. When things get wild during combat, I just hit 'scroll lock' and let the bot handle it. My bear runs around like he's rabid, regaining aggro on the things he lost it on, far faster than I could have.</li>
    <li>It uses a weighting system to pick who to heal, as well. Some classes should never off-heal - feral druid comes to mind, because it breaks form. But for some classes, it's appropriate - tanks can occasionally toss a heal to the worst hurt player, to take the load off the healer, for instance. The worst hurt player pops to the top, with an extra 10 points given if they're a tank or healer, so they're prioritized first in healing.</li>
    <li>It can optionally pull only groups of monsters, ignoring onesie-twosies. This is great when farming for cloth, such as the trogg packs in Deepholm.</li>
</ol>
I use this a lot when in dungeons. It takes all the 'reflex' work out of partying with others, and let's me concentrate on game mechanics, steering, and chat. However, it's also useful for leveling - when out of party, it will do it all.

<h3>Where can I get it?</h3>
FTW is available via SVN <a href="http://fightthisway.googlecode.com/svn/trunk/">here</a>.

<h3>How do I install it?</h3>
All the files go into your 'Honorbuddy/Routines' folder, into a new folder called 'FTW'.
Now, you could download the files one by one, but that would be tedious and time-consuming.
An easier way is to install TortoiseSVN, and checkout the latest changes using the link above.
Don't worry, it's not as hard as it sounds! Just follow these instructions:
<br />
<ol>
<li>Download and install <a href="http://tortoisesvn.net/downloads.html">TortoiseSVN</a>.</li>
<li>Create a folder called 'FTW' inside the 'Honorbuddy/Routines' folder.</li>
<li>Right-click the FTW folder, and choose 'SVN Checkout...' from the popup menu.</li>
<li>Enter this when it asks you for the URL, and click 'OK': <a href="http://fightthisway.googlecode.com/svn/trunk/">http://fightthisway.googlecode.com/svn/trunk/</a>.</li>
</ol>
You're done! To grab the latest version whenever there's an update, just redo step 3 above.
<br /><br />
After downloading the files via SVN, stop and restart HonorBuddy, if it's running.

<h3>How it works:</h3>
FTW is controlled by class files containing instructions on how to play your class.
These instructions are simply lists of what actions to perform in what order, combined with conditions.
Lines that start on the left hand side, are actions.
Lines that are indented under them, are conditions for the action above.
<br /><br />

Here's an example of an action with its associated conditions:
<br /><br />
<table>
<tr><td valign="top">
    <ul class="nobullet">
    <li>
    Target.Cast Wrath
    <ul class="nobullet">
    <li>Me.Mana > 90 </li>
    <li>Target.Health < 10 </li>
    </ul>
    </li>
    </ul>
</td><td valign="top"><b><-- This is an action</b><br /><b><-- This is a condition</b><br /><b><-- This is another condition</b></td></tr>


</table>

In the example above, your mana must be more than 90%, AND the target's health must be less than 10%, for your character to cast 'Wrath' on the target.

<ul class="indented">
    <li>If not all the conditions are true, the action will be skipped, and FightThisWay starts looking at the next action in the list.</li>
    <li>If all the conditions are true (or no conditions are listed), the action is executed:
    <ul class="nobullet">
    <li>If the action was successful, FightThisWay stops there, and starts again at the top of the file.</li>
    <li>If the action was not successful, FightThisWay continues down the list, and examines the next action.</li>
    </ul>
    </li>
</ul>

<h3>Prefixes</h3>
Every action and condition starts with one of the following prefixes. If it doesn't start with one of these prefixes, 'Target' is assumed.
The prefixes choose who is checked. For instance, 'Target.Health' returns the target's health, 'Me.Health' returns the player's health, and 'Healer.Health' returns the healer's health.
<br /><br />
<table border="1" class="topalign" width="100%">
<tr><td width="20%">Me</td><td>The player</td></tr>
<tr><td>Tank</td><td>The tank when you're in a party, the player when not in a party.</td></tr>
<tr><td>Healer</td><td>The healer for the party.</td></tr>
<tr><td>Target</td><td>The mob you're currently targeting.</td></tr>
<tr><td>Heal</td><td>The party member most in need of healing.</td></tr>
<tr><td>Pet</td><td>Your pet.</td></tr>
<tr><td>Revive</td><td>A dead party member.</td></tr>
<tr><td>Cleanse</td><td>A diseased party member.</td></tr>
</table>

<h3>Actions</h3>
All the actions you can perform in a class file, are listed below:
<br /><br />
<table border="1" class="topalign" width="100%">
<tr><td colspan="2" style="background-color:#CCCCCC;">Actions that use targets (target is one of the prefixes up above)</td></tr>
<tr><td width="20%">Blacklist</td><td>Blacklists the current target. Only usable with Target.</td></tr>
<tr><td>Cast XXX</td><td>Casts the spell XXX, waiting for the current spellcast to finish, if any.</td></tr>
<tr><td>CastNow XXX</td><td>Casts the spell XXX, interrupting the current spellcast if necessary.</td></tr>
<tr><td>CastOnce XXX</td><td>Casts spell XXX on the target just once. This check expires after 2 minutes. This is useful when determining whether or not to Pickpocket or Dismantle a mob, for instance - those spells always return true regardless if it actually succeeded, and would be cast continuously (eat your rotation) unless they were stopped somehow.</td></tr>
<tr><td>DumpAuras</td><td>This lists all the auras on the specified target. It will appear only when loglevel is set to 'diagnostic', as it can get kinda long.</td></tr>
<tr><td>PetCast XXX</td><td>Casts spell XXX from your pet spell bar, waiting for the current spellcast to finish, if any.</td></tr>
<tr><td>PetCastNow XXX</td><td>Casts spell XXX from your pet spell bar, interrupting the current spellcast, if necessary.</td></tr>
<tr><td>Use XXX</td><td>Use item XXX from your inventory.</td></tr>
<tr><td colspan="2" style="background-color:#CCCCCC;">Actions that don't use targets (target is ignored, specify anything you want - usually 'Me.')</td></tr>
<tr><td>AutoAttack</td><td>Causes the player to autoattack.</td></tr>
<tr><td>CastAll XXX</td><td>Applies aura XXX to all enemies. Useful for dotting Corruption on all targets, for instance.</td></tr>
<tr><td>ClipTime XXX</td><td>Stops casting spells XXX milliseconds before they're done ("clips" them.) For max DPS, set this number higher... but if you start getting 'Interrupted's, turn it back down. Set it to 0 to not clip spells. </td></tr>
<tr><td>Drink</td><td>Causes the player to drink. Usable in the Rest phase only.</td></tr>
<tr><td>Eat</td><td>Causes the player to eat. Usable in the Rest phase only.</td></tr>
<tr><td>FollowTarget</td><td>Causes the player to follow their current target, or the tank if in a party and out of combat.</td></tr>
<tr><td>FindBetterTarget</td><td>Causes the player to look for a better target. Incapacitated mobs will be ignored by default, so the bot will stop targeting the sapped mob and start attacking something else.</td></tr>
<tr><td>GrabAggro</td><td>Like FindBetterTarget, but prioritizes mobs the tank doesn't have aggro on, over others.</td></tr>
<tr><td>InterruptAny XXX</td><td>Interrupts the spellcaster that's farthest away, with spell XXX. Useful for ranged interrupts, like 'Silence.'</td></tr>
<tr><td>ImbueWeapon1 XXX</td><td>Casts XXX on your mainhand weapon. (Useful for shamans to apply Windfury, for instance.)</td></tr>
<tr><td>ImbueWeapon2 XXX</td><td>Casts XXX on your offhand weapon. (Useful for shamans to apply Flametongue.)</td></tr>
<tr><td>LeaveEarly</td><td>Causes script execution to stop here, and resume at the top.</td></tr>
<tr><td>Macro XXX</td><td>Executes the specified text XXX as a macro.</td></tr>
<tr><td>Message XXX</td><td>Displays a message XXX in the HonorBuddy window.</td></tr>
<tr><td>ParalyzeAny XXX</td><td>Paralyzes the spellcaster that's farthest away, or a mob that's attacking the healer. Useful for ranged stuns, such as 'Paralysis.'</td></tr>
<tr><td>PetAttack</td><td>Causes your pet to start attacking the target.</td></tr>
<tr><td>PullMore XXX</td><td>Taunts a mob you're not in combat with, with spell XXX. Useful for getting more adds during the fight, as in the following:
<br />&nbsp;&nbsp;&nbsp;&nbsp;Me.PullMore Provoke
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Target.AddsCount < 3
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Me.Health > 80
<br />The above example causes you to always fighting at least 3 adds, if possible.
It will pull mobs closer to you first, then farther away.
How far away it will pull, is dependent upon the range of your taunt.
</td></tr>
<tr><td>Range XXX</td><td>Sets your combat range to the number XXX. Melee should use 4.95, ranged should be 20 or higher.</td></tr>
<tr><td>StopCasting XXX</td><td>Stops casting spell XXX, if it's currently casting.</td></tr>
<tr><td>UseHealthPotion</td><td>Causes the player to drink a health potion from their inventory.</td></tr>
<tr><td>UseManaPotion</td><td>Causes the player to drink a mana potion from their inventory.</td></tr>
<tr><td>UseBandage</td><td>Causes the player to use a bandage from their inventory.</td></tr>
<tr><td>DumpAuras</td><td>Displays all the auras on the specified unit.</td></tr>
</table>

<h3>Conditions</h3>
All the conditions available for use in a class file, are listed below:
<br /><br />
<table border="1" class="topalign" width="100%">
<tr valign="top">
<td width="20%">AddsCount</td><td class="style2">The number of mobs attacking you or your party members. (Exception: If you're in combat by yourself, and there are 0 adds, it will return a list of all mobs within 40 yards of you. This accommodates that bug in WoW where it says you're in combat when you're not, and you have to kill the mobs in a 40 yard radius to get out of combat.)</td></tr>
<tr><td>Aggro</td><td class="style2">A number from 0 to 4 indicating how much aggro you have on the target. Tanks should be at 3 or 4, DPS and healers should be 0 to 2.</td></tr>
<tr><td>AllComboPoints</td><td class="style2">All the combo points you have, on all targets, dead or alive. Useful to check before casting 'Recuperate' out of combat as a rogue.</td></tr>
<tr><td nowrap="nowrap">AuraExpiring("XXX")</td><td class="style2">Returns how many milliseconds until the unit's XXX aura expires. Returns 0 if aura is not there.</td></tr>
<tr><td>AvgHealth</td><td class="style2">The average health of all members in your party. Useful to check before casting an AOE heal with a large cooldown, such as 'Tranquility.'</td></tr>
<tr><td>Balance</td><td class="style2">How much Balance you have, between -100 and 100. (moonkins).</td></tr>                  
<tr><td>BearForm</td><td class="style2">Returns 1 if druid is in bear form.</td></tr>
<tr><td>BloodRune</td><td class="style2">How many blood runes you have.</td></tr>
<tr><td>BurningEmbers</td><td class="style2">How many burning embers you have, x 10. (Emberbits). </td></tr>
<tr><td>CanCast("XXX")</td><td class="style2">Returns whether or not SpellManager will let you cast spell XXX right now.</td></tr>
<tr><td>CatForm</td><td class="style2">Returns 1 if a druid is in cat form.</td></tr>
<tr><td>CapsLock</td><td class="style2">Returns 1 if caps lock key is down.</td></tr>
<tr><td>Chi</td><td class="style2">How much Chi you have, a number between 0 and 5.</td></tr>
<tr><td>ClusterSize</td><td class="style2">How many enemy mobs are surrounding the specified unit, blacklisted or not. This is a useful thing to check before casting an AOE attack, such as Spinning Crane Kick.</td></tr>
<tr><td>ComboPoints</td><td class="style2">How many combo points you have on the current target.</td></tr>
<tr><td>Dead</td><td class="style2">Returns 1 if the unit is dead.</td></tr>
<tr><td>DeathRune</td><td class="style2">How many death runes are active.</td></tr>
<tr><td>DemonicFury</td><td class="style2">How much Demonic Fury you have, a number between 0 and 1000.</td></tr>
<tr><td>Distance</td><td class="style2">How far away you are from the unit, ignoring height (Z direction).</td></tr>
<tr><td>EclipseDirection</td><td class="style2">Returns 1 if the eclipse is moving up, -1 if the eclipse is moving down (moonkin).</td></tr>
<tr><td>Energy</td><td class="style2">How much energy you have.</td></tr>
<tr><td>FeralForm</td><td class="style2">Returns 1 if a druid is in either cat or bear form.</td></tr>
<tr><td>Focus</td><td class="style2">How much focus you currently have.</td></tr>
<tr><td>FlightForm</td><td class="style2">Returns 1 if a druid is in flight form.</td></tr>
<tr><td>FrostRune</td><td class="style2">How many frost runes are active.</td></tr>
<tr><td>HasAura("XXX")</td><td class="style2">Returns 1 if the unit currently has an aura named XXX.</td></tr>
<tr><td>HasItem("XXX")</td><td class="style2">Returns 1 if you have at least 1 of item XXX in your inventory.</td></tr>
<tr><td>HasMyAura("XXX")</td><td class="style2">Returns 1 if the unit currently has an aura named XXX, that was applied by the player.</td></tr>
<tr><td>HasSpell("XXX")</td><td class="style2">Returns 1 if the player knows spell XXX.</td></tr>
<tr><td>HasTotem("XXX")</td><td class="style2">Returns 1 if the unit currently has totem XXX out.</td></tr>
<tr><td>Health</td><td class="style2">How much health you have.</td></tr>
<tr><td>HolyPower</td><td class="style2">How much holy power you have.</td></tr>
<tr><td>InBattleground</td><td class="style2">Returns 1 if you're in a battleground.</td></tr>
<tr><td>InParty</td><td class="style2">Returns 1 if you're in a party or a raid.</td></tr>
<tr><td>InRaid</td><td class="style2">Returns 1 only if you're in a raid.</td></tr>
<tr><td>Interruptable</td><td class="style2">Returns 1 if the unit's spellcast is interruptible. Useful for checking before blowing a cooldown trying to interrupt.</td></tr>
<tr><td>IsBehind</td><td class="style2">Returns 1 if you're behind the unit.</td></tr>
<tr><td>IsBeast</td><td class="style2">Returns 1 if the unit is a beast.</td></tr>
<tr><td>IsCasting</td><td class="style2">Returns 1 if the unit is currently casting any spell.</td></tr>
<tr><td>IsCritter</td><td class="style2">Returns 1 if the unit is a critter.</td></tr>
<tr><td>IsDemon</td><td class="style2">Returns 1 if the unit is a demon.</td></tr>
<tr><td>IsDiseased</td><td class="style2">Returns 1 if the unit has a disease that can be dispelled.</td></tr>
<tr><td>IsDPS</td><td class="style2">Returns 1 if your party role is damager. It doesn't check others, just yourself, so only use with 'Me.'</td></tr>
<tr><td>IsDragon</td><td class="style2">Returns 1 if the unit is a dragon.</td></tr>
<tr><td>IsElemental</td><td class="style2">Returns 1 if the unit is an elemental.</td></tr>
<tr><td>IsElite</td><td class="style2">Returns 1 if the unit is an elite mob.</td></tr>
<tr><td>IsFacingTarget</td><td class="style2">Returns 1 if the unit is facing their current target (and has a current target.)</td></tr>
<tr><td>IsFleeing</td><td class="style2">Returns 1 if the unit is fleeing.</td></tr>
<tr><td>IsFlying</td><td class="style2">Returns 1 if the unit is flying.</td></tr>
<tr><td>IsGasCloud</td><td class="style2">Returns 1 if the unit is a gas cloud.</td></tr>
<tr><td>IsGiant</td><td class="style2">Returns 1 if the unit is a giant.</td></tr>
<tr><td>IsHealer</td><td class="style2">Returns 1 if the player is a healer. It doesn't check others, just yourself, so only use with 'Me.'</td></tr>
<tr><td>IsHostile</td><td class="style2">Returns 1 if the unit is hostile to the player.</td></tr>
<tr><td>IsHumanoid</td><td class="style2">Returns 1 if the unit is humanoid (can be pickpocketed!)</td></tr>
<tr><td>IsIncapacitated</td><td class="style2">Returns 1 if the unit is dead or incapacitated.</td></tr>
<tr><td>IsLooting</td><td class="style2">Returns 1 if the bot is moving towards or looting a lootable mob.</td></tr>
<tr><td>IsMechanical</td><td class="style2">Returns 1 if the unit is a mechanical.</td></tr>
<tr><td>IsMoving</td><td class="style2">Returns 1 if the unit is moving.</td></tr>
<tr><td>IsNonCombatPet</td><td class="style2">Returns 1 if the unit is a non-combat pet.</td></tr>
<tr><td>IsRooted</td><td class="style2">Returns 1 if the mob is rooted or shackled.</td></tr>
<tr><td>IsTank</td><td class="style2">Returns 1 if the player is a tank. It doesn't check others, just yourself, so only use with 'Me.'</td></tr>
<tr><td>IsTotem</td><td class="style2">Returns 1 if the unit is a totem.</td></tr>
<tr><td>IsUndead</td><td class="style2">Returns 1 if the unit is undead.</td></tr>
<tr><td>ItemOnCooldown("XXX")</td><td class="style2">Returns 1 if item XXX is on cooldown.</td></tr>
<tr><td>Level</td><td class="style2">Returns the unit's level.</td></tr>
<tr><td>LevelDiff</td><td class="style2">Returns the unit's level - the player's level. If they're higher level than you this number will be positive - if lower level, it will be negative. This is handy to check when choosing your 'Pull' spell - if they're much lower level than you, you can choose an instant-cast and get it over with quickly.</td></tr>
<tr><td>LineOfSight</td><td class="style2">Returns 1 if the unit is in your line of sight.</td></tr>
<tr><td>Mana</td><td class="style2">Returns the unit's mana percent.</td></tr>
<tr><td>MeleeRange</td><td class="style2">4.95</td></tr>
<tr><td>MoonkinForm</td><td class="style2">Returns 1 if a druid is in moonkin form.</td></tr>
<tr><td>Mounted</td><td class="style2">Returns 1 if the unit is mounted.</td></tr>
<tr><td>MyAuraExpiring("XXX")</td><td class="style2">Returns how many milliseconds until the unit's XXX aura, applied by the player, expires. Returns 0 if aura is not there.</td></tr>
<tr><td>MyStackCount("XXX")</td><td class="style2">Returns how many stacks of aura XXX, applied by the player, are on the unit.</td></tr>
<tr><td>NormalForm</td><td class="style2">Returns 1 if a druid is NOT in moonkin, cat, or bear form.</td></tr>
<tr><td>NumItems("XXX")</td><td class="style2">Returns the number of item XXX you have in your inventory.</td></tr>
<tr><td>OnCooldown("XXX")</td><td class="style2">Returns 1 if the spell XXX is on cooldown.</td></tr>
<tr><td>PartyWithAura("XXX")</td><td class="style2">Returns the number of party members that currently have an aura XXX. This is useful to check before casting Uplift, for instance.</td></tr>
<tr><td>PartyWithHealth("XXX")</td><td class="style2">Returns the number of party members with a health <= XXX. </td></tr>
<tr><td>PetIsMissing</td><td class="style2">Returns 1 if your pet is missing.</td></tr>
<tr><td>Rage</td><td class="style2">Your current rage.</td></tr>
<tr><td>RuneCount</td><td class="style2">A count of all your active runes (from 0 to 6).</td></tr>
<tr><td>RunicPower</td><td class="style2">Your current runic power.</td></tr>
<tr><td>ScrollLock</td><td class="style2">Returns 1 if the scroll lock key is down.</td></tr>
<tr><td>SoulShards</td><td class="style2">The number of soul shards the player has.</td></tr>
<tr><td>StackCount("XXX")</td><td class="style2">Returns how many stacks of aura XXX are on the unit.</td></tr>
<tr><td class="style1">StunCount</td><td class="style3">The number of stunned mobs near the unit. This is useful to check before casting an AOE spell that will break crowd control.</td></tr>
<tr><td>TotemCount</td><td class="style2">The number of totems you have out.</td></tr>
<tr><td>UnholyRune</td><td class="style2">The number of unholy runes that are active.</td></tr>
</table>

<h3>Class Files</h3>
The list of instructions for each class/spec combo is stored in a separate class file. These files are named with their class/specs, and stored in the 'data' folder inside of FightThisway.
These are the files you edit, to change your gameplay style.
<br /><br />
File format:
<ul class="indented">
    <li>Lines that start with two dashes are comments.</li>
    <li>The actions are broken up into three sections:
        <ul class="nobullet">
        <li>@COMBAT contains actions to perform when fighting a mob.</li>
        <li>@PULL contains actions to perform when pulling (initiating combat) on a mob.</li>
        <li>@REST contains actions to perform when you're doing nothing else.</li>
        </ul>
    </li>
</ul>

<h3>Spell Files</h3>
<table border="1" class="topalign" width="100%">
<tr><td width="20%">Spell_Overrides.txt</td><td>This file contains a list of spell overrides. Spells in this file override HonorBuddy's SpellManager version of this spell, because either the ID is different, the cooldown is different, or the name is different. Add entries to this file when: 
<ol>
<li>You find a spell that's failing to cast, due to HonorBuddy's SpellManager not knowing it. That happened to a lot of spells, when the Mists of Pandaria patch hit.</li>
<li>A spell is casting continuously, eating your rotation, and you want to put a fake cooldown on it. FightThisWay will honor that fake cooldown, and not cast the spell again until its cooldown has expired. Example: Dismantle. No way of knowing in advance whether that spell will succeed or not, but you don't want to keep trying if it fails. Just put a fake cooldown on it, or perform a 'CastOnce' with it, to fix that.</li>
<li>You want to rename a spell to differentiate it from other spells. Example: Mangle (Cat) or Mangle (Bear).</li>
</ol>
</td></tr>
<tr><td>Spell_Stuns.txt</td><td>Contains aura names that should be considered to be stuns.
This is useful when the spell mechanic for an aura is 'Disoriented', ie, 'Paralysis'.
'Disoriented' is used so frequently it's useless as a stun check, and it's necessary to check the aura name.
</td></tr>
<tr><td>Spell_Cast_Over.txt</td><td>Spells in this file should never be stopped, the next spell should just cast over them. Example: 'Soothing Mist'.</td></tr>
<tr><td>Spell_Tank_Only.txt</td><td>Spells in this file should only ever be cast on the tank. Example: 'Misdirection'.</td></tr>
<tr><td>Spell_Target_Circle.txt</td><td>Spells in this file require a second click, to place the targeting circle. Example: 'Flare'.</td></tr>
</table>
<br />
Whenever any of the files in the 'FTW/data' folder change, they will all automatically be reloaded by FightThisWay. This means you can tweak your rotation without having to stop and restart HonorBuddy.
<h3>Common Problems and Resolutions</h3>
<table class="topalign" border="1">
<tr>
<td>My character just sits there, and most of the spells say 'Unknown spell.'</td>
<td>Whenever you change class or specs, restart HonorBuddy! Its internal SpellManager will be messed up until you do.</td>
</tr>

<tr><td>I'm having low framerates</td>
<td>
If you're having speed problems, check the following
<ol>
<li>Turn off unnecessary plugins. In particular, LazyRaider is known to cause speed issues with custom classes.
Either turn it off entirely, or turn off the 'framelock' option.</li>
<li>For older machines, speed up WoW by running it with higher priority.
To do this, you have to run WoW from a batch file. 
In Windows 7, open up Notepad, copy/paste this in, save as 'Hog.bat' somewhere nice, 
and then double-click 'Hog.bat'.
<br /><code>
<table class="indented">
<tr><td colspan="2" border="0">Start "WoW" /high "C:\Program Files (x86)\World of Warcraft\Wow.exe"</td></tr>
<tr><td>REM /realtime</td><td>highest priority</td></tr>
<tr><td>REM /high</td><td>high priority</td></tr>
<tr><td>REM /normal</td><td>normal priority</td></tr>
<tr><td>REM /belownormal</td><td>below normal priority</td></tr>
<tr><td>REM /low</td><td>lowest priority</td></tr>
</table>
</code>
<br />
This would work for all programs, not just WoW.
Replace the /high with whatever priority you want (try /high first though.)
Replace the pathname to WoW.exe, with the pathname to whatever program you want to run at a different priority.
Finally - remember to double-click the bat file, not the program itself! 
</li>
<li>The performance of HonorBuddy is directly linked to your frame rate. In WoW, under 'Game Menu', 'System', 'Advanced', you'll see a slider called 'Max Background FPS'. Make sure that is set to 30% or higher - you'll have to eyeball it, there's no numbers on it. If the framerate is set too low, and you swap to HonorBuddy to see what cool stuff is happening, your framerate will drop dramatically. To see this in action, drag 
    the &#39;Max Background Slider&#39;&nbsp; all the way to the left, which sets it 8fps, 
    and then bring HonorBuddy to the foreground. See how the WoW window has jerky 
    animation, and HonorBuddy starts failing on a lot of spells? Drag it back up to 
    30% or higher, and it will start working smoothly again. </li>
</ol>
</td>
</tr>
<tr><td>I'd like to see exactly what spells it is casting.</td>
<td>
To get a closer look at what your character is doing, create the following macro,
drag it to your action bar somewhere, then click it. This is a one-line macro - place all the text you see below on one line, though word-wrapping might cause it to display as more than one line.
It will print a message to your chat window containing what spell you just cast,
and what its spell ID is.
<br /><br />
<table class="indented">
<tr><td><code>/run local f=CreateFrame("Frame") f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED") f:SetScript("OnEvent", function(f,e,u,s,_,_,i) if u=="player" then print(s,i) end end)</code></td></tr>
</table>
</td></tr>
<tr><td>My character isn't eating, drinking, picking up loot, healing pet, etc., after combat.</td>
<td>FightThisWay is meant to be used with the 'Grind Bot' or 'Questing' bots. 
If you're using 'Combat' bot, only the 'Combat' routine will run - you must use a different bot,
such as 'Grind Bot', to get the 'Rest' behavior to run.
<br /><br />
If you don't have a particular grinding profile you want to use, you can use an empty profile with FTW.
Here's an empty profile for your use. Copy the following text, paste it into a 
file called 'Empty Profile.xml', and load that profile to use with 'Grind Bot.'
<br /><br />
<code>
<HBProfile />
&lt;HBProfile/&gt;<br />
</code>
</td>
</tr>
<tr><td>I'd like to use disengage on my hunter rotation.</td><td>DON'T TOUCH THAT DIAL! 
&lt;slaps your hand off that spell.&gt; 
Disengage will drop you off cliffs, shoot you into packs of wild dogs, 
and generally turn your smooth-working hunter class into a wild hootenanny. 
If you want to use it, don't come crying to me when you end up dead at the bottom of the ocean. ;-D</td></tr>
</table>
</body>
</html>
